package com.eshop.modules.user.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

@ApiModel(description = "用户地址表查询参数", value = "YxUserAddressQueryVo对象")
public class UserAddressQueryVo implements Serializable {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("收货人所在市")
    private String city;
    @ApiModelProperty("收货人详细地址")
    private String detail;
    @ApiModelProperty("收货人所在区")
    private String district;
    @ApiModelProperty("用户地址id")
    private Long id;
    @ApiModelProperty("是否默认")
    private Integer isDefault;
    @ApiModelProperty("纬度")
    private String latitude;
    @ApiModelProperty("经度")
    private String longitude;
    @ApiModelProperty("收货人电话")
    private String phone;
    @ApiModelProperty("邮编")
    private Integer postCode;
    @ApiModelProperty("收货人所在省")
    private String province;
    @ApiModelProperty("收货人姓名")
    private String realName;
    @ApiModelProperty("用户id")
    private Long uid;

    /* access modifiers changed from: protected */
    public boolean canEqual(Object other) {
        return other instanceof UserAddressQueryVo;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UserAddressQueryVo)) {
            return false;
        }
        UserAddressQueryVo other = (UserAddressQueryVo) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Long this$id = getId();
        Long other$id = other.getId();
        if (this$id != null ? !this$id.equals(other$id) : other$id != null) {
            return false;
        }
        Long this$uid = getUid();
        Long other$uid = other.getUid();
        if (this$uid != null ? !this$uid.equals(other$uid) : other$uid != null) {
            return false;
        }
        Integer this$postCode = getPostCode();
        Integer other$postCode = other.getPostCode();
        if (this$postCode != null ? !this$postCode.equals(other$postCode) : other$postCode != null) {
            return false;
        }
        Integer this$isDefault = getIsDefault();
        Integer other$isDefault = other.getIsDefault();
        if (this$isDefault != null ? !this$isDefault.equals(other$isDefault) : other$isDefault != null) {
            return false;
        }
        String this$realName = getRealName();
        String other$realName = other.getRealName();
        if (this$realName != null ? !this$realName.equals(other$realName) : other$realName != null) {
            return false;
        }
        String this$phone = getPhone();
        String other$phone = other.getPhone();
        if (this$phone != null ? !this$phone.equals(other$phone) : other$phone != null) {
            return false;
        }
        String this$province = getProvince();
        String other$province = other.getProvince();
        if (this$province != null ? !this$province.equals(other$province) : other$province != null) {
            return false;
        }
        String this$city = getCity();
        String other$city = other.getCity();
        if (this$city != null ? !this$city.equals(other$city) : other$city != null) {
            return false;
        }
        String this$district = getDistrict();
        String other$district = other.getDistrict();
        if (this$district != null ? !this$district.equals(other$district) : other$district != null) {
            return false;
        }
        String this$detail = getDetail();
        String other$detail = other.getDetail();
        if (this$detail != null ? !this$detail.equals(other$detail) : other$detail != null) {
            return false;
        }
        String this$longitude = getLongitude();
        String other$longitude = other.getLongitude();
        if (this$longitude != null ? !this$longitude.equals(other$longitude) : other$longitude != null) {
            return false;
        }
        String this$latitude = getLatitude();
        String other$latitude = other.getLatitude();
        return this$latitude != null ? this$latitude.equals(other$latitude) : other$latitude == null;
    }

    public int hashCode() {
        Long $id = getId();
        int hashCode = $id == null ? 43 : $id.hashCode();
        Long $uid = getUid();
        int i = (hashCode + 59) * 59;
        int hashCode2 = $uid == null ? 43 : $uid.hashCode();
        Integer $postCode = getPostCode();
        int i2 = (i + hashCode2) * 59;
        int hashCode3 = $postCode == null ? 43 : $postCode.hashCode();
        Integer $isDefault = getIsDefault();
        int i3 = (i2 + hashCode3) * 59;
        int hashCode4 = $isDefault == null ? 43 : $isDefault.hashCode();
        String $realName = getRealName();
        int i4 = (i3 + hashCode4) * 59;
        int hashCode5 = $realName == null ? 43 : $realName.hashCode();
        String $phone = getPhone();
        int i5 = (i4 + hashCode5) * 59;
        int hashCode6 = $phone == null ? 43 : $phone.hashCode();
        String $province = getProvince();
        int i6 = (i5 + hashCode6) * 59;
        int hashCode7 = $province == null ? 43 : $province.hashCode();
        String $city = getCity();
        int i7 = (i6 + hashCode7) * 59;
        int hashCode8 = $city == null ? 43 : $city.hashCode();
        String $district = getDistrict();
        int i8 = (i7 + hashCode8) * 59;
        int hashCode9 = $district == null ? 43 : $district.hashCode();
        String $detail = getDetail();
        int i9 = (i8 + hashCode9) * 59;
        int hashCode10 = $detail == null ? 43 : $detail.hashCode();
        String $longitude = getLongitude();
        int i10 = (i9 + hashCode10) * 59;
        int hashCode11 = $longitude == null ? 43 : $longitude.hashCode();
        String $latitude = getLatitude();
        return ((i10 + hashCode11) * 59) + ($latitude == null ? 43 : $latitude.hashCode());
    }

    public void setCity(String city2) {
        this.city = city2;
    }

    public void setDetail(String detail2) {
        this.detail = detail2;
    }

    public void setDistrict(String district2) {
        this.district = district2;
    }

    public void setId(Long id2) {
        this.id = id2;
    }

    public void setIsDefault(Integer isDefault2) {
        this.isDefault = isDefault2;
    }

    public void setLatitude(String latitude2) {
        this.latitude = latitude2;
    }

    public void setLongitude(String longitude2) {
        this.longitude = longitude2;
    }

    public void setPhone(String phone2) {
        this.phone = phone2;
    }

    public void setPostCode(Integer postCode2) {
        this.postCode = postCode2;
    }

    public void setProvince(String province2) {
        this.province = province2;
    }

    public void setRealName(String realName2) {
        this.realName = realName2;
    }

    public void setUid(Long uid2) {
        this.uid = uid2;
    }

    public String toString() {
        return "UserAddressQueryVo(id=" + getId() + ", uid=" + getUid() + ", realName=" + getRealName() + ", phone=" + getPhone() + ", province=" + getProvince() + ", city=" + getCity() + ", district=" + getDistrict() + ", detail=" + getDetail() + ", postCode=" + getPostCode() + ", longitude=" + getLongitude() + ", latitude=" + getLatitude() + ", isDefault=" + getIsDefault() + ")";
    }

    public Long getId() {
        return this.id;
    }

    public Long getUid() {
        return this.uid;
    }

    public String getRealName() {
        return this.realName;
    }

    public String getPhone() {
        return this.phone;
    }

    public String getProvince() {
        return this.province;
    }

    public String getCity() {
        return this.city;
    }

    public String getDistrict() {
        return this.district;
    }

    public String getDetail() {
        return this.detail;
    }

    public Integer getPostCode() {
        return this.postCode;
    }

    public String getLongitude() {
        return this.longitude;
    }

    public String getLatitude() {
        return this.latitude;
    }

    public Integer getIsDefault() {
        return this.isDefault;
    }
}
